package com.campusevaluation.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "注册表单类实体")
public class UserDTO {
    private Long id;
    private String username;
    private String password;
    private String email;
    private String code;
    @Schema(description = "部门ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long departmentId;
    @Schema(description = "角色ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String role;
}
